import string

content = ""
with open("字符.txt", "r", encoding="utf-8") as f:
	lines = f.readlines()
	for line in lines:
		s = line[3:].strip()
		s += "\'"
		st = "\'" + s + ":\n"
		content += st
		
with open("字符2.txt", "w", encoding="utf-8") as f:
	f.write(content)
	
st = ""
for i in range(10):
	st += str(i)

for letter in string.ascii_lowercase:
	st += letter

for upper in string.ascii_uppercase:
	st += upper

c0 = "的一是了我不人在他有这个上们来到时大地为子中你说生国年着就那和要她出也得里后自以会家可下而过天去能对小"
c1 = "多然于心学么之都好看起发当没成只如事把还用第样道想作种开美总从无情己面最女但现前些所同日手又行意动方期它头经长儿回"
c2 = "位分爱老因很给名法间斯知世什两次使身者被高已亲其进此话常与活正感见明问力理尔点文几定本公特做外孩相西果走将月十实向"
c3 = "声车全信重三机工物气每并别真打太新比才便夫再书部水像眼等体却加电主界门利海受听表德少克代员许稜先口由死安写性马光白"
c4 = "或住难望教命花结乐色更拉东神记处让母父应直字场平报友关放至张认接告入笑内英军候民岁往何度山觉路带万男边风解叫仁金快"
c5 = "原吃妈变通师立象数四失满战远格士音轻目条呢"

st += c0 + c1 + c2 + c3 + c4 + c5

print(len(st))
print(st)

content = ""
cnt = 0
with open("字符2.txt", "r", encoding="utf-8") as f:
	lines = f.readlines()
	for line in lines:
		str0 = line.strip() + ' '
		c = st[cnt] + "\'"
		c1 = "\'" + c
		cnt += 1
		str0 += c1
		content += str0 + ',\n'

with open("字符3.txt", "w", encoding="utf-8") as f:
	f.write(content)
